import "./App.css";
import { RouterProvider } from "react-router-dom";
import router from "./router/index.tsx";
import React from "react";
import useTheme from "./hooks/useTheme";
function App(props: any) {
  const { language, assemblySize, themeConfig, setLanguage } = props;
  console.log(themeConfig, themeConfig);

  // 全局使用主题
  // useTheme(themeConfig);
  return (
    <div className="App">
      <RouterProvider router={router} />
    </div>
  );
}

export default App;
